package request

import "framework-server/model"

type GetSysButtonListRequest struct {
	model.SysButton
	PageInfo
}

type GetAllButtonsRequest struct{
	ParentId  string  `json:"parentId" form:"parentId"`
}

type GetButtonByAutorityIdReqeust struct{
	AuthorityId  string  `json:"authorityId" form:"authorityId"`
}

type AddButtonAuthorityReqeust struct {
	AuthorityId  string             `json:"authorityId" form:"authorityId"`
	Buttons      []model.SysButton  `json:"buttons" form:"buttons"`
}